package com.dilidili.mapper;

import com.dilidili.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @PackgeName: com.dilidili.mappers
 * @ClassName: LoginMapper
 * @Author: 零
 * Date: 2022/4/3 14:34
 * project name: spring-cloud-mybilibli
 * @Version:
 * @Description:
 */
@Mapper
public interface LoginMapper {
    @Select("select * from mybilibili.user where user.user_tel=#{phone};")
    User login(@Param("phone") String userTel);
}
